package cn.tansty.mapper;

import cn.tansty.pojo.AmsPermission;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


@Repository
public interface AmsPermissionMapper {

    void insert(@Param("data") AmsPermission data);

    void deleteByIds(@Param("list") List<Long> list);

    AmsPermission[] selectLike(@Param("pattern") Map<String, String> pattern);
}
